package comp302.prototype.xml;

public class XMLAttribute {
	
	private String name = "", value = "";
	
	public XMLAttribute(String name) {
		this.name = name;
	}
	
	public XMLAttribute(String name, String value) {
		this.name = name;
		this.value = value;
	}
	
	public String getName() {
		return name;
	}
	
	public String getValue() {
		return value;
	}
	
	public void setValue(String val) {
		value = val;
	}
	
	public String toString() {
		return name + "=\"" + value + "\"";
	}
}
